{extend name="extend:page" /}

{block name="title"}路演活动{/block}

{block name="css"}
<link rel="stylesheet" type="text/css" href="/public/webfe/css/project.css" />
{/block}


{block name="body"}
<div class="layout-region page bg-eee overa">
	<div class="layout-safety p-t-4x">
		<div class="bg-fff p-y-1x p-x-3x box-shadow">
			<div class="condition" id="tpl-condition" style="display: none;">
				
			</div>
		</div>
		<div class="box-shadow m-y-4x bg-fff">
			<div class="cont-title"><em>路演活动</em></div>
			<div class="activitys-volist m-x-0x clearfix" id="tpl-activitys-volist">
				
			</div>
			<div class="nothing-box nothing-bg position-relative">
				<p class="position-absolute position-screen text-center fs14r" style="top: 320px;">
					没有相关条件的路演活动，请更换其它查询条件试试！
				</p>
			</div>
		</div>
	</div>
</div>
{/block}



{block name="js"}

<script type="text/html" id="tpl-condition-tmplate">
	{{# var _index = 1; }}
	{{# for ( var i in d ) { }}
		{{# if ( _index < 2 ) { }}
			<dl class="cdon-box clearfix b-line-b">
		{{# } else { }}
			<dl class="cdon-box clearfix">
		{{# } }}
			<dt>{{ d[i][1] }}：</dt>
			<dd class="active">
				<a href="javascript:;" data-condition="{{ d[i][2] }}" data-title="">全部</a>
			</dd>
			{{# var vo = d[i][0]; }}
			{{# for ( var v in vo ) { }}
				<dd>
					<a href="javascript:;" data-condition="{{ d[i][2] }}" data-title="{{ vo[v] }}">{{ vo[v] }}</a>
				</dd>
			{{# } }}
		</dl>
		{{# _index++; }}
	{{# } }}
</script>

<script type="text/html" id="activitys-volist-template">
	{{# for ( var i in d ) { }}
		{{# var list = d[i]; }}
		{{# if (i % 3 == 2) { }}
		<div class="a-volist clearfix m-r-0x" transition>
		{{# } else { }}
		<div class="a-volist clearfix" transition>
		{{# } }}
			<span class="" style="display: block; width: 100%; height: 268px;">
				<img src="{{ list.cover }}" class="m-x-auto" width="100%" height="100%" />
			</span>
			<span class="p-x-2x p-t-2x" style="display: block;">
				<p class="title ellipsis"><font class="tag-hot">HOT</font>{{ list.title }}</p>
				<p class="ellipsis"><i class="icon-address"></i>{{ list.localtion }} {{ list.address }}</p>
				<p><i class="icon-time"></i>{{ tool.formatDate('yy-mm-dd hh:ii', list.start_time) }}</p>
				<p><i class="icon-time"></i>{{ tool.formatDate('yy-mm-dd hh:ii', list.end_time) }}</p>
				<p>主办方：{{ list.organizers }}</p>
				<p class="text-right p-b-1x">
					&nbsp;
					{{# if (list.type == 0) { }}
						已有{{ list.sign_up_count }}人报名参加
					{{# } }}
				</p>
			</span>
			<a href="/activity/{{ list.id }}" class="submit-buttom">查看详情</a>
			{{# if (list.is_sign_up == 1) { }}
				<img src="/public/home/images/sign_up.png" class="position-absolute position-top position-right" />
			{{# } }}
		</div>
	{{# } }}
</script>
<script type="text/javascript" src="/public/modules/thin.min.js" thin-main="/public/webfe/js/indexActivity" thin-loader="/public/webfe/resource/mainloader" thin-cache="false"></script>
<script type="text/javascript">
	document.getElementById('nav-head-ctyl').className = 'active';
	document.getElementById('nav-sub-lyhd').className = 'active';
</script>
{/block}